Skip to content

ci: semver and release automation#394

Merged
HealthyBuilder merged 3 commits intosolana-foundation:mainfrom
sonicfromnewyoke:sonic/ci-semver-and-release-automation
Apr 16, 2026
Merged

ci: semver and release automation#394
HealthyBuilder merged 3 commits intosolana-foundation:mainfrom
sonicfromnewyoke:sonic/ci-semver-and-release-automation

Conversation

@sonicfromnewyoke
Copy link
Copy Markdown
Contributor

@sonicfromnewyoke sonicfromnewyoke commented Apr 13, 2026

Problem

current CI is covers only tests, which is not enough for the production-ready project

Summary of Changes

  • add gorelease-based semver compatibility check on PRs
  • add conventional commit linting on PRs
  • add release-please for automated versioning and changelogs
  • trigger tests only when go-related files were changed
  • extract contributing guid into the dedicated CONTRIBUTING.md file
  • bump actions/checkout (v2 -> v4) and actions/setup-go (v2 -> v5) in test workflow

Comment thread CONTRIBUTING.md

Commit messages are enforced in CI via [commitlint](https://commitlint.js.org/).

## Semver and API Compatibility
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok I'll follow it:)

@HealthyBuilder
Copy link
Copy Markdown
Collaborator

Looks great! A small suggestions before merging:

Consider adding -race flag to test runs: go test ./... -race -count=1 — I saw you fixed race conditions in #383, this keeps them from regressing

Everything else is solid. Nice work on the CONTRIBUTING.md!

@HealthyBuilder
Copy link
Copy Markdown
Collaborator

I just add directly

@HealthyBuilder HealthyBuilder merged commit 47cb845 into solana-foundation:main Apr 16, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants